<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<%@ include file="validProgrammer.jsp" %>
</head>
<body>
<h1 align="center">业主管理</h1>    
    <h2>新增业主</h2> 
   <form action="<%=request.getContextPath()%>/programmer4Jsp";  >
    <input type="hidden" name="affair" value="createOwner" /><br/>
   <p style="width: 100px; display: inline;  ">电话：</p>  <input type="text" name="telnum" style="width: 100pt;" /><br/>
   <p style="width: 100px; display: inline; ">密码：</p>   <input type="password" name="secret" style="width: 100pt;"/> <br/>
     <p style="width: 100px; display: inline; ">名称：</p>  <input type="text" name="name" style="width: 200pt;" /><br/>
    <p style="width: 100px; display: inline; ">地址：</p>  <input type="text" name="address" style="width: 200pt;" /><br/>
     <p style="width: 100px; display: inline; ">服务电话：</p>  <input type="text" name="serviceTelnum" style="width: 100pt;" /><br/>
   <p style="width: 100px; display: inline; ">厚豆提成：</p>  <input type="text" name="rate" style="width: 100pt;" /><br/>
   <p style="width: 100px; display: inline; ">启用配置：</p> <input  type="radio" name="isAuth" value="1">启用        <input  type="radio" name="isAuth" value="0">不启用</br>    
    <input type="submit" value="提交"> <br/>
    </form> 
    <br/>
    <br/>
    <br/>

</body>
</html>

<script> 
//取出传回来的参数error并与yes比较
  var errorInfoA ='<%=request.getParameter("errorInfo")%>';
  var  errorInfo=decodeURI(errorInfoA);
  if(errorInfo!='null'){
   alert(errorInfo);}

</script>